// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    public static void main(String[] args) {
        // Press Alt+Enter with your caret at the highlighted text to see how
        // IntelliJ IDEA suggests fixing it.
        int n=1;
        long sum =0;
        while(true){
            sum = sum+n;
            n++;
            if(sum>=8888)
                break;
        }
        System.out.println("满足条件的最大整数："+(n-1));

      
    }
}